﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace TechMadeira.Data.Classes
{
    public class OrderItem : Semantic, IOrderItem
    {
        #region Fields
        [XmlElement("Product",typeof(Product))]
        private IProduct mProduct = null;
        #endregion

        public int Quantity { get; set; }

        [XmlIgnore()]
        public IProduct Product { get { return mProduct; } set { mProduct = value; } }
    }
}
